package com.tocean.app.mapper.common;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tocean.app.controller.request.datadict.DataDictSearchDto;
import com.tocean.app.controller.request.paper.PaperSearchDto;
import com.tocean.app.entity.common.DataDict;
import com.tocean.app.entity.common.TestPaper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface PaperMapper extends BaseMapper<TestPaper> {

    IPage<TestPaper> getList(Page<?> page, @Param("p") PaperSearchDto paperSearchDto);
    IPage<TestPaper> getListByValue(Page<?> page, @Param("pp") PaperSearchDto paperSearchDto);

}
